home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / shells / scsh-0.4 / scsh-0 / scsh-0.4.2 / scsh / ultrix / packages.scm < prev    next >
Text File  |  1995-10-13  |  3KB  |  129 lines

  1. ;;; Interfaces and packages for the machine specific parts of scsh for Ultrix.
  2. ;;; Copyright (c) 1994 by Olin Shivers.
  3. ;;; Copyright (c) 1994 by Brian D. Carlstrom.
  4.  
  5. (define-interface ultrix-fdflags-extras-interface
  6.   (export open/no-delay
  7.       open/sync
  8. ;      open/bklinuse
  9. ;      open/bklandset
  10.       open/termio
  11.       ))
  12.  
  13. (define-interface ultrix-errno-extras-interface
  14.   (export errno/addrinuse
  15.       errno/addrnotavail
  16.       errno/afnosupport
  17.       errno/align
  18.       errno/already
  19.       errno/connaborted
  20.       errno/connrefused
  21.       errno/connreset
  22.       errno/destaddrreq
  23.       errno/dquot
  24.       errno/hostdown
  25.       errno/hostunreach
  26.       errno/idrm
  27.       errno/inprogress
  28.       errno/isconn
  29.       errno/loop
  30.       errno/msgsize
  31.       errno/netdown
  32.       errno/netreset
  33.       errno/netunreach
  34.       errno/nobufs
  35.       errno/nomsg
  36.       errno/noprotoopt
  37.       errno/notblk
  38.       errno/notconn
  39.       errno/notsock
  40.       errno/opnotsupp
  41.       errno/pfnosupport
  42.       errno/proclim
  43.       errno/protonosupport
  44.       errno/prototype
  45.       errno/remote
  46.       errno/shutdown
  47.       errno/socktnosupport
  48.       errno/stale
  49.       errno/timedout
  50.       errno/toomanyrefs
  51.       errno/users
  52.       errno/wouldblock
  53.       errno/xtbsy
  54.       errno/active        
  55.       errno/noactive        
  56.       errno/noresources        
  57.       errno/nosystem        
  58.       errno/nodust        
  59.       errno/dupnoconn        
  60.       errno/dupnodisconn        
  61.       errno/dupnotcntd        
  62.       errno/dupnotidle        
  63.       errno/dupnotwait        
  64.       errno/dupnotrun        
  65.       errno/dupbadopcode        
  66.       errno/dupintransit        
  67.       errno/duptoomanycpus    
  68.       ))
  69.  
  70. (define-interface ultrix-signals-extras-interface
  71.   (export signal/cld
  72.       signal/iot
  73.       signal/trap
  74.       signal/emt
  75.       signal/io  
  76.       signal/urg
  77.       signal/xcpu
  78.       signal/xfsz
  79.       signal/vtalrm
  80.       signal/prof 
  81.       signal/winch
  82.       signal/lost    
  83.       ))
  84.  
  85. (define-interface ultrix-network-extras-interface
  86.   (export socket/debug
  87.       socket/accept-connect
  88.       socket/reuse-address
  89.       socket/keep-alive
  90.       socket/dont-route
  91.       socket/broadcast
  92.       socket/use-loop-back
  93.       socket/linger
  94.       socket/oob-inline
  95. ;      socket/use-privileged
  96. ;      socket/cant-signal
  97.       socket/send-buffer
  98.       socket/receive-buffer
  99.       socket/send-low-water
  100.       socket/receive-low-water
  101.       socket/send-timeout
  102.       socket/receive-timeout
  103.       socket/error
  104.       socket/type
  105.       ip/options
  106. ;      ip/time-to-live
  107.       tcp/no-delay
  108.       tcp/max-segment))
  109.  
  110. (define-interface ultrix-extras-interface
  111.   (compound-interface ultrix-errno-extras-interface
  112.               ultrix-fdflags-extras-interface
  113.               ultrix-network-extras-interface
  114.               ultrix-signals-extras-interface))
  115.  
  116. (define-interface ultrix-defs-interface
  117.   (compound-interface ultrix-extras-interface
  118.               sockets-network-interface
  119.               posix-errno-interface
  120.               posix-fdflags-interface
  121.               posix-signals-interface))
  122.  
  123. (define-structure ultrix-defs ultrix-defs-interface
  124.   (open scheme bitwise defenum-package)
  125.   (files fdflags errno signals netconst))
  126.  
  127. (define-interface os-extras-interface ultrix-extras-interface)
  128. (define os-dependent ultrix-defs)
  129.